package com.njust.constant;

/**
 * @version 1.0
 * @Author Imak
 * @Date 2024/11/13 22:47
 * @常量
 */
public class Constant {
    //用户在线状态
    public static final int ONLINE=1;
    public static final int OFFLINE=0;

    //人员相关
    public static final int ADMIN=-1;
    public static final int Test=0;
    public static final int Support=1;
    //视频相关
    public static final int TRAIN_VIDEO=0;//培训视频
    public static final int OPERATE_VIDEO=1;//考核操作视频
    public static final int TEST_VIDEO=2;//测试视频
    //培训相关
    public static final int WITHOUT_TRAIN=0;//未培训
    public static final int Completed_TRAIN=1;//培训完成
    public static final int COMPLETED_ASSESSMENT=2;//考核通过

    //样品需求相关
    public static final int REQUESTING=0;//申请中
    public static final int ISSUED=1;//已经发放

    public static final String UNKNOWN_ERROR = "未知错误";

    public static final String ALREADY_EXISTS="已存在";
    // 证书相关
    public static final String CERTIFICATES_OF_TRAINING_URL ="src\\main\\resources\\certificates\\培训证书.pdf"; // 培训证书url
    public static final String CERTIFICATES_OF_AUTHORIZATION_URL = "src\\main\\resources\\certificates\\授权证书.pdf"; //授权证书url
    // 证书字体
    public static final String FONT_URL = "src\\main\\resources\\font\\微软雅黑.ttf";
    // 证书临时存储位置
    public static final String TEMPORARY_STORE_CERTIFICATE_URL = "src\\main\\resources\\temp.pdf";


}
